const Express = require('express')
const server = Express()

server.use(Express.static('views'))
server.on('listening', () => {
  let port = server.address().port
  console.log(`server listen on port ${port}`)
})
server.listen(0)
// server.listen(0, () => {
//   let port = server.address().port;
//   console.log(`server listen on port ${port}`)
// })